#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include<stdlib.h>
#include <time.h>
#include<string.h>
int main()
{
	int arr[5] = { 1,2,3,4,5 };
	int count = 0;
	int* pa = arr;
	while (count != 5)
	{
		printf("%d ", *(pa++));
		count++;
	}
}